<div class="clearfix"></div>

<div id="c_paginator">

<?php if(empty($this->pageTitle)) $this->pageTitle = 'page';?>
<?php if ($this->pageCount): ?>
	<div class="pagination">
	<!-- First page link -->
	<?php if (isset($this->previous)): ?>
  		<a href="<?php echo $this->url(array_merge($_GET,array($this->pageTitle  => $this->first))); ?>">
    	<?php echo $this->translate("First"); ?>
  		</a> |
	<?php else: ?>
  		<span class="disabled"><?php echo $this->translate("First"); ?></span> |
	<?php endif; ?>

	<!-- Previous page link -->
	<?php if (isset($this->previous)): ?>
  		<a href="<?php echo $this->url(array_merge($_GET,array($this->pageTitle  => $this->previous))); ?>">
    	&lt; <?php echo $this->translate("Previous"); ?>
  		</a> |
	<?php else: ?>
  		<span class="disabled">&lt; <?php echo $this->translate("Previous"); ?></span> |
	<?php endif; ?>
	
	<!-- position -->
	<?php echo $this->firstItemNumber; ?> - <?php echo $this->lastItemNumber; ?>
	    <?php echo $this->translate("Of"); ?> <?php echo $this->totalItemCount; ?>

	<!-- Next page link -->
	<?php if (isset($this->next)): ?>
  		| <a href="<?php echo $this->url(array_merge($_GET,array($this->pageTitle => $this->next))); ?>">
    	<?php echo $this->translate("Next"); ?> &gt;
  		</a> |
	<?php else: ?>
  		| <span class="disabled"><?php echo $this->translate("Next"); ?> &gt;</span> |
	<?php endif; ?>

	<!-- Last page link -->
	<?php if (isset($this->next)): ?>
  		<a href="<?php echo $this->url(array_merge($_GET,array($this->pageTitle  => $this->last))); ?>">
    	<?php echo $this->translate("Last"); ?>
  		</a>
	<?php else: ?>
  		<span class="disabled"><?php echo $this->translate("Last"); ?></span>
	<?php endif; ?>
    
    <?php if ($this->pageCount): ?>
    	&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $this->translate("Page"); ?>
       <select onChange="window.location=$(this).val();" id="paginationControl_<?php echo $this->pageTitle; ?>" size="1">
       <?php foreach ($this->pagesInRange as $page): ?>
          <?php $selected = ($page == $this->current) ? ' selected="selected"' : ''; ?>
             <option value="<?php
                echo $this->url(array_merge($_GET,array($this->pageTitle  => $page)));?>"<?php echo $selected ?>>
                <?php echo $page; ?>
            </option>
      <?php endforeach; ?>
     </select>
     <?php endif; ?>    
    </div>
<?php endif; ?>

</div>